<!--- 搜索框 --->
<form id="search-form" method="post" enctype="">


    <div class="layui-form layui-card-header layuiadmin-card-header-auto">
        <div class="layui-form-item">
            <input type="hidden" name="_token" value="{{ csrf_token() }}"/>

            <!--- 搜索:展示的表单 --->
        @if(!empty($search))
            @foreach($search as $field=>$_html)
                {!! $_html !!}
            @endforeach
        @endif


        <!--- 搜索：隐藏的表单 --->
            @if(!empty($searchHide))
                @foreach($searchHide as $_field)
                    <input type="hidden" name="{{$_field}}" id="hidden-{{$_field}}"
                           value="{{$request[$_field]??''}}"/>
                @endforeach
            @endif

        <!--- 搜索：按钮 --->
            @if(!empty($searchHide) || !empty($search))
                <div class="layui-inline">
                    <button class="layui-btn layuiadmin-btn-useradmin" type="button"
                            onclick="page=1;getPageSearch();">
                        <i class="layui-icon layui-icon-search layuiadmin-button-btn"></i>
                    </button>
                </div>
            @endif

        </div>
    </div>

</form>

<!--- <span class="r">共有：<strong id="totalNums">0</strong> 条</span> --->





